﻿@model FriendlyURL.Web.UI.Models.HomeIndexViewModel

@{
    ViewBag.Title = "Index";
}
<section class="content">
    <div class="hero-unit">
    
        <h2>@Model.Message</h2>
    
    </div>

@*    @if (User.IsInRole(UserRole.Allocator.GetStringValue()) || User.IsInRole(UserRole.Administrator.GetStringValue()))
    {
        <!-- Fieldset Alternative -->
        <div class="nzwh-wrapper" style="width: 200px;">
            <div class="fieldset">
                <div class="legend">
                    Actions
                </div>
                <div class="content">
                    @Html.ActionLink("Allocated Machines List", "List", "Home")
                    <br />
                    @Html.ActionLink("New Allocation", "Create", "Home")
                </div>
            </div>
        </div> 
        <br />        
        <div >
            @{Html.RenderPartial("AllocationSummaryForUser", Model.AllocationSummaryForUser, new ViewDataDictionary { new KeyValuePair<string, object>("CurrentUserFullName", @Model.CurrentUserFullName) });}
        </div>
    }*@



@*    <div>
        @{Html.RenderPartial("AllocationSummaryPartial", Model.AllocationSummary, new ViewDataDictionary());}
    </div>*@
</section>